package com.googlecode.hmvc4gwt.example.hmvcblog.server.repository;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class ARepository implements IRepository {
	
	private Log log = LogFactory.getLog(getClass());
	
	public Log getLog() {
		return log;
	}

	@PersistenceContext
	private EntityManager entityManager;
	
	public EntityManager getEntityManager() {
		return entityManager;
	}

	public void setEntityManager(EntityManager entityManager) {
		this.entityManager = entityManager;
	}

}
